package com.framework.bdf4j.msg.config;

import java.security.Principal;

/**
 * Websocket用户认证实体
 *
 * @author shan.deng
 * @date 2020-07-15 16:06:44
 */
public class UserPrincipal implements Principal {

    private String name;

    public UserPrincipal(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }
}
